Ensure LD_LIBRARY_PATH is correct for plugins
authorAlex Crichton <alex@alexcrichton.com>
Thu, 24 Jul 2014 19:30:47 +0000 (12:30 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 24 Jul 2014 19:30:47 +0000 (12:30 -0700)
commitf3e43bfced8ec8822d0d2c51d6a5532410ed305a
tree4f0d66b59153cfd1fe7d39a4a47ffced94695895
parentbfb163025f91a04993fc3389ae160ad7895a1fe4
Ensure LD_LIBRARY_PATH is correct for plugins

At runtime rustc will dlopen() plugins, and if plugins have dynamic dependencies
they're likely to be in target/deps, so we need to make sure that directory is
in the right search path.
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_compile_plugins.rs [new file with mode: 0644]
tests/tests.rs